public class OuterClass {
    public int data1 = 1;
    public int data2 = 2;
    public static int data3 = 3;
    class InnerClass{
        public int data1 = 111;
        public int data4 = 4;
        public int data5 = 5;
        public static final int data6 = 6;
        public void test(){
            System.out.println(this.data1);
            System.out.println(OuterClass.this.data1);
            System.out.println("内部类方法");
        }
    }
    public void test(){
        System.out.println("外部类方法");
    }
}